package com.han.dao;

import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * Created on 2019/4/8.
 */
@Mapper
public interface AssistDao {

    Integer insertColor(Map map);

    Integer insertPitch(Map map);

    Integer insertScrew(Map map);

    Integer insertImgMsg(Map map);

    List<Map> getAllColorByGoodId(Integer goods_id);

    List<Map> getAllPitchByGoodId(Integer goods_id);

    List<Map> getAllScrewByGoodId(Integer goods_id);

    List<Map> getAllImageByGoodId(Integer goods_id);


    Integer deleteColorById(Integer color_id);
    Integer deletePitchById(Integer pitch_id);
    Integer deleteScrewById(Integer screw_id);
    Integer deleteImageById(Integer image_id);
}
